package Model.Event
{
	import flash.events.Event;
	
	public class PostSelectionChangedEvent extends Event
	{
		
		public static const SELECTION:String = "postSelectionChanged";
		public var postId:Number;
		public var changed:String;
		
		public function PostSelectionChangedEvent(type:String, postId:Number, changed:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.postId = postId;
			this.changed = changed;
		}
		
		override public function clone():Event 
		{
			return new PostSelectionChangedEvent(SELECTION, postId, changed);
		} 
	}
}